export const data = {
  form: {},
  queryParams: {
    total: 0,
    dateRange: [],
    pageNum: 1,
    pageSize: 10,
    ibMasterId: null,
    ebeln: null,
    ebelp: null,
    spuNo: null,
    lotNo: null,
    ibPlanQty: null,
    ibActualQty: null,
    ibPostQty: null,
    ibDetailStatus: null,
    werks: null,
    lgort: null,
    postStatus: null,
    createName: null,
    comments: null
  },
}

export const column = [
  { prop: "ibDetailId", label: "ID", width: 80, minWidth: 50 },
  { prop: "ibMasterId", label: "主单ID", width: 80, minWidth: 50 },
  { prop: "ibMasterNo", label: "主单编号", width: 135, minWidth: 50, showOverflow: true },
  { prop: "ebeln", label: "采购订单", width: 135, minWidth: 50, showOverflow: true },
  { prop: "ebelp", label: "订单行号", width: 80, minWidth: 50 },
  { prop: "spuNo", label: "物料编号", width: 135, minWidth: 50, showOverflow: true },
  { prop: "spuName", label: "物料名称", width: 135, minWidth: 50, showOverflow: true },
  { prop: "lotNo", label: "批次编号", width: 80, minWidth: 50, showOverflow: true },
  { prop: "ibPlanQty", label: "计划数量", width: 80, minWidth: 50 },
  { prop: "ibActualQty", label: "收货数量", width: 80, minWidth: 50 },
  { prop: "ibPostQty", label: "过账数量", width: 80, minWidth: 50 },
  { prop: "ibDetailStatus", label: "单据状态", width: 80, minWidth: 50 },
  { prop: "sapWerks", label: "工厂编号", width: 80, minWidth: 50 },
  { prop: "lgort", label: "库存地点", width: 80, minWidth: 50 },
  { prop: "postStatus", label: "过账状态", width: 80, minWidth: 50 },
  { prop: "createName", label: "创建者", width: 80, minWidth: 50 },
  { prop: "createDate", label: "创建时间", width: 180, minWidth: 150 },
  { prop: "updateName", label: "更新者", width: 80, minWidth: 50 },
  { prop: "updateDate", label: "更新时间", width: 180, minWidth: 150 },
  { prop: "comments", label: "备注信息", width: 80, minWidth: 50, showOverflow: true },
  { prop: "operate", label: "操作", fixed: "right", type: 'detail' },
]

export const formList = [
  { prop: "ebeln", label: "采购订单" },
  { prop: "ebelp", label: "订单行号" },
  { prop: "spuNo", label: "物料编号" },
  { prop: "spuName", label: "物料名称" },
  { prop: "lotNo", label: "批次编号" },
  { prop: "ibPlanQty", label: "计划数量" },
  { prop: "ibActualQty", label: "收货数量" },
  { prop: "ibPostQty", label: "过账数量" },
  { prop: "sapWerks", label: "工厂编号" },
  { prop: "lgort", label: "库存地点" },
  { prop: "postStatus", label: "过账状态", type: 'select' },
  { prop: "comments", label: "备注信息" },
  { prop: "createName", label: "创建者" },
  { prop: "createDate", label: "创建时间", type: 'date' },
]